<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Siri 动画效果</title>
    <style>
        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background-color: #000;
            overflow: hidden;
        }

        .siri-container {
            position: relative;
            width: 200px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }

        .siri-bar {
            width: 6px;
            height: 20px;
            background: #007AFF;
            border-radius: 3px;
            animation: siriWave 1s ease-in-out infinite;
            transform-origin: center;
        }

        @keyframes siriWave {
            0%, 100% {
                transform: scaleY(0.5);
                opacity: 0.2;
            }
            50% {
                transform: scaleY(1);
                opacity: 1;
            }
        }

        .siri-container .siri-bar:nth-child(1) { animation-delay: 0.1s; }
        .siri-container .siri-bar:nth-child(2) { animation-delay: 0.2s; }
        .siri-container .siri-bar:nth-child(3) { animation-delay: 0.3s; }
        .siri-container .siri-bar:nth-child(4) { animation-delay: 0.4s; }
        .siri-container .siri-bar:nth-child(5) { animation-delay: 0.5s; }
        .siri-container .siri-bar:nth-child(6) { animation-delay: 0.6s; }
        .siri-container .siri-bar:nth-child(7) { animation-delay: 0.7s; }
        .siri-container .siri-bar:nth-child(8) { animation-delay: 0.8s; }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(0,122,255,0.1) 0%, transparent 70%);
            pointer-events: none;
        }
    </style>
</head>
<body>
    <div class="overlay"></div>
    <div class="siri-container">
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
        <div class="siri-bar"></div>
    </div>

    <script>
        document.addEventListener('click', function() {
            const bars = document.querySelectorAll('.siri-bar');
            bars.forEach(bar => {
                bar.style.animation = 'none';
                bar.offsetHeight; // 触发重绘
                bar.style.animation = null;
            });
        });
    </script>
</body>
</html> 